package com.hjxr.xmgl.web.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 项目基本信息（由审计局填写)-项目有且只有一个对象 project_base_info
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class ProjectBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目主键-牵引字段 */
    private String projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目编码（发改委） */
    @Excel(name = "项目编码", readConverterExp = "发=改委")
    private String projectCode;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String projectType;

    /** 年份 */
    @Excel(name = "年份")
    private String setYear;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regDate;

    /** 行政区划 */
    @Excel(name = "行政区划")
    private String xzqh;

    /** 精度 */
    @Excel(name = "精度")
    private String lng;

    /** 维度 */
    @Excel(name = "维度")
    private String lat;

    public void setProjectId(String projectId)
    {
        this.projectId = projectId;
    }

    public String getProjectId()
    {
        return projectId;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setProjectCode(String projectCode)
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode()
    {
        return projectCode;
    }
    public void setProjectType(String projectType)
    {
        this.projectType = projectType;
    }

    public String getProjectType()
    {
        return projectType;
    }
    public void setSetYear(String setYear)
    {
        this.setYear = setYear;
    }

    public String getSetYear()
    {
        return setYear;
    }
    public void setRegDate(Date regDate)
    {
        this.regDate = regDate;
    }

    public Date getRegDate()
    {
        return regDate;
    }
    public void setXzqh(String xzqh)
    {
        this.xzqh = xzqh;
    }

    public String getXzqh()
    {
        return xzqh;
    }
    public void setLng(String lng)
    {
        this.lng = lng;
    }

    public String getLng()
    {
        return lng;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("projectCode", getProjectCode())
            .append("projectType", getProjectType())
            .append("setYear", getSetYear())
            .append("regDate", getRegDate())
            .append("xzqh", getXzqh())
            .append("lng", getLng())
            .append("lat", getLat())
            .toString();
    }
}
